Skip to content

Add building and container recipes#20

Open
D4rkDuck wants to merge 2 commits intoSimulation-Software-Engineering:mainfrom
D4rkDuck:cmake-with-cpp
Open

Add building and container recipes#20
D4rkDuck wants to merge 2 commits intoSimulation-Software-Engineering:mainfrom
D4rkDuck:cmake-with-cpp

Conversation

@D4rkDuck
Copy link

Gitlab Username: luxik
Instructions to run the project can be found in the readme, but I will include it here aswell:

Instructions

The imageName has to be chosen! ("cmakeFight" could be a fitting name)

  1. Build the image via (getting all dependencies will take some time)
docker buildx build -t <imageName> .
  1. Run the container
docker run -it --mount type=bind,src=.,dst=/mnt/host/cmake-exercise <imageName>
  1. Change directory into the repo
cd cmake-exercise
  1. Run the shell script (build folder should not exist beforehand!)
./build_and_run.sh

Expected output:

Let's fight with CMake, Docker, and some dependencies!

Solve Poisson problem with FEM using deal.II
FEM results available in `solution.vtk`. Try visualizing with Paraview.

Modify a flat set using boost container
Elements in s1: 1       2       3       4

Inspect the current directory using boost filesystem
"." is a directory containing:
    "CMakeCache.txt"
    "CMakeFiles"
    "Makefile"
    "cmake_install.cmake"
    "main"
    "solution.vtk"

Parse some yaml file with yaml-cpp
  ../yamlParser/config.yml
Version: 1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant